function ProcessView(_args) {
	DefinitionView = require('ui/common/process/definition');//not required
	InputView = require('ui/common/process/input');//not required
	ApplicationWindow = require('ui/handheld/ios/ApplicationWindow');//not required
	
	//create window for the process and use the title of the button clicked as the title for this window
	var self = Ti.UI.createWindow({
		title : _args.detailTitle,
		//title:_args.title,
		backgroundColor:'#fff'
	}),
		//sourceTitle1; //this is the title of the process clicked to reach this page
		//console.log(sourceTitle1);
	
	/*self.addEventListener('itemSelected', function(e) {
		var sourceTitle = e.name; //this is the title of the page we just came from
		
	});*/
				// if we're mobile web, don't make the rows touch enabled
		isMobileWeb = Ti.Platform.osname == "mobileweb";
		Ti.API.info("isMobileWeb:"+isMobileWeb+" !"+!isMobileWeb);
	// create table view data object
	var data = [	
		{title: 'Definition', hasChild:true, test:'ui/common/process/definition',backgroundColor:'#fff',color:"#000"},
		{title:'Input', hasChild:!isMobileWeb, test:'ui/common/process/input', touchEnabled:!isMobileWeb, color:isMobileWeb?"#aaa":"#000",backgroundColor:'#fff'},
		{title:'Output', hasChild:!isMobileWeb, test:'ui/common/process/output', touchEnabled:!isMobileWeb, color:isMobileWeb?"#aaa":"#000",backgroundColor:'#fff'},
		{title:'Tools and Techniques', hasChild:!isMobileWeb, test:'ui/common/process/tools', touchEnabled:!isMobileWeb, color:isMobileWeb?"#aaa":"#000",backgroundColor:'#fff'},
		{title:'Quiz', hasChild:!isMobileWeb, test:'ui/common/process/quiz', touchEnabled:!isMobileWeb, color:isMobileWeb?"#aaa":"#000",backgroundColor:'#fff'}
	];
	
	/*
	 * 
	 * Hard coded custom view for the Time Management Overview, however any other class that was called will display the data elements above as buttons
	 */
	if(_args.detailTitle == "Time Management Overview"){
					var view1 = Titanium.UI.createScrollView({
				        contentWidth:'auto',
				        contentHeight:'auto',
				        showVerticalScrollIndicator:true,
				        showHorizontalScrollIndicator:true
				    });
					
						var lbl = Ti.UI.createLabel({
						text: 'Project Time Management involves processes required to manage the timely completion of a project.  These processes include Plan Schedule Management, Define Activities, Sequence Activities, Estimate Activity Resources, Estimate Activity Durations, Develop Schedule, and Control Schedule. \n \nThe Project Time Management processes and their tools and techniques are documented in the schedule management plan.  This plan is a subsidiary plan of the project manage plan and is integrated with it through the Develop Project Management Plan process.  The Schedule Management Plan identifies a scheduling method and tool as well as sets the format and establishes criteria for developing and controlling the project schedule.  The framework and algorithms used in the scheduling tool to create the schedule model is defined by the scheduling method. \n \nIn combination with scheduling tool, project schedule development uses outputs from the processes to define activities, sequence activities, estimate activity resources, and estimate activity durations to produce the schedule model.  The finalized and approved schedule is the baseline that will be used in the Control Schedule process.',
						height:'auto',
						textAlign: Ti.UI.TEXT_ALIGNMENT_JUSTIFIED,
						width:'auto',
						color:'#000'
					});
					
					view1.add(lbl);
					self.add(view1);
					//self.add(lbl);
				
					self.addEventListener('itemSelectedD', function(e) {
						lbl.text = e.name+': '+e.detail;
					});
				
					return self;
	}
	else{
				// we create a table view with the process areas above
				for (var i = 0; i < data.length; i++ ) { data[i].color = '#000'; data[i].font = {fontWeight:'bold'} };
				var tableview = Titanium.UI.createTableView({
					data:data
				});
				
				// create table view event listener
				tableview.addEventListener('click', function(e)
				{
					if (e.rowData.test)
					{
				
						self.fireEvent('functionSelected', {
						name:e.rowData.title,
						knowledge: _args.detailTitle,
						detail:e.rowData.detail
					});
					}
				});
				
			
			
				// add table view to the window
				self.add(tableview);
				
				return self;
	}

};
module.exports = ProcessView;
